<?php 
    $this->beginContent('/layouts/main'); 
    $user = Users::model()->findBypk(Yii::app()->user->id);
?>

<div class="dashboard">
    <div class="component" id="js-promptbird-dashboard-narrow-hook" data-component-term="promptbird_dashboard_placeholder"></div><div class="module mini-profile component" data-component-term="mini_home_profile">

        <div class="flex-module profile-summary js-profile-summary">
            <a href="https://twitter.com/luckymancvp" class="account-summary account-summary-small" data-nav="profile">
                <div class="content">
                    <div class="account-group js-mini-current-user" data-user-id="83644624" data-screen-name="luckymancvp">
                        <img class="avatar size32" src="<?php echo Html::avatarUrl($user->avatar) ?>" alt="Dang Thanh Tu" data-user-id="83644624">
                        <b class="fullname"><? echo $user->full_name?></b>
                        <small class="metadata">View my profile page</small>
                    </div>
                </div>
            </a></div>

        <div class="js-mini-profile-stats-container"><ul class="stats js-mini-profile-stats">
                <li><a href="https://twitter.com/luckymancvp" data-element-term="tweet_stats" data-nav="profile">


                        <strong>249</strong> Tweets

                    </a></li>
                <li><a href="https://twitter.com/#!/following" data-element-term="following_stats" data-nav="following"><strong>43</strong> Following</a></li>
                <li><a href="https://twitter.com/#!/followers" data-element-term="follower_stats" data-nav="followers"><strong>34</strong> Followers</a></li>
            </ul></div>

        <div class="tweet-box tweet-user"><div class="tweet-box condensed">
                <div class="text-area">
                    <div class="text-area-editor twttr-editor"><textarea class="twitter-anywhere-tweet-box-editor" style="width: 258px; height: 75px; overflow: hidden; " spellcheck="false" greditor="true"></textarea><ul class="autocomplete-container" style="width: 258px; top: 31px; left: 0px; visibility: hidden; "></ul><div style="display: none; width: 258px; "></div></div>
                </div>
                <div class="tweet-button-container"><div class="turkey-control">
                        <div class="turkey-add-action">
                            <div class="turkey"></div>
                            <div class="swf"></div>
                        </div>
                        <form method="post" action="https://upload.twitter.com/1/statuses/update_with_media.iframe" enctype="multipart/form-data" class="turkey-selected-files" target="tweetbox_1"></form>
                        <iframe class="turkey-post-target" name="tweetbox_1"></iframe>
                    </div>
                    <span class="geo-control">
                        <a href="https://twitter.com/#" class="geo-location">
                            <span class="geo-icon" original-title="">&nbsp;</span>
                            <span class="geo-dropdown-icon">&nbsp;</span>
                        </a>
                    </span>    <div class="tweet-button-sub-container">
                        <img src="<?php echo Html::imageUrl("spinner.gif") ?>" class="tweet-spinner" style="display: none;">
                        <span class="tweetbox-counter-tipsy" style="opacity: 0; "></span><input class="tweet-counter" value="140" disabled="disabled" spellcheck="false" greditor="true">
                        <a href="https://twitter.com/#" class="tweet-button btn disabled">Tweet</a>    </div>
                </div>
            </div></div></div><div class="component" style="display: none; " data-component-term="japanese_ad"></div><div class="component" data-component-term="user_recommendations" style=""><div class="module wtf-module js-wtf-module has-content">

            <div class="flex-module">

                <div class="flex-module-header">
                    <h3>Who to follow</h3>
                    <small>· <a class="js-refresh-suggestions" href="https://twitter.com/#">Refresh</a></small>
                    <small class="view-all">· <a href="https://twitter.com/#!/who_to_follow/suggestions" data-element-term="view_all_link">View all</a></small>
                </div>

                <div class="js-recommended-followers dashboard-user-recommendations flex-module-inner" data-section-id="wtf">
                    <div class="js-account-summary account-summary js-actionable-user" data-user-id="369875727" data-feedback-token="1">
                        <div class="dismiss js-action-dismiss"><i class="close"></i></div>
                        <div class="content">
                            <a class="account-group js-recommend-link js-user-profile-link user-thumb" href="https://twitter.com/vietcanh89" data-user-id="369875727">

                                <img class="avatar js-action-profile-avatar " src="<?php echo Html::imageUrl("default_profile_4_normal.png") ?>" alt="le viet canh">
                                <span class="account-group-inner js-action-profile-name" data-user-id="369875727">
                                    <b class="fullname">le viet canh</b>
                                    <span>‏</span>

                                    <span class="username"><s>@</s><span class="js-username">vietcanh89</span></span>
                                </span>
                            </a>

                            <small class="metadata social-context">
                                Followed by <a class="pretty-link js-user-profile-link" href="https://twitter.com/tranhuychung" data-user-id="382652515"><b>Trần Huy Chung</b></a> and <a href="https://twitter.com/#!/vietcanh89/followers_you_follow" class="pretty-link"><b>others</b></a>
                            </small>

                            <span class="js-follow-state follow-state">
                                <a href="https://twitter.com/#" class="js-action-follow js-link" data-user-id="369875727">Follow</a>

                            </span>
                        </div>
                    </div>

                    <div class="js-account-summary account-summary js-actionable-user" data-user-id="106651229" data-feedback-token="1">
                        <div class="dismiss js-action-dismiss"><i class="close"></i></div>
                        <div class="content">
                            <a class="account-group js-recommend-link js-user-profile-link user-thumb" href="https://twitter.com/Envil_Vlien" data-user-id="106651229">

                                <img class="avatar js-action-profile-avatar " src="<?php echo Html::imageUrl("Envil_Vlien_normal.jpg") ?>" alt="Tạ Quốc Việt">
                                <span class="account-group-inner js-action-profile-name" data-user-id="106651229">
                                    <b class="fullname">Tạ Quốc Việt</b>
                                    <span>‏</span>

                                    <span class="username"><s>@</s><span class="js-username">Envil_Vlien</span></span>
                                </span>
                            </a>

                            <small class="metadata social-context">
                                Followed by <a class="pretty-link js-user-profile-link" href="https://twitter.com/cadic_lpt" data-user-id="37435457"><b>Hoang Van Duc</b></a> and <a href="https://twitter.com/#!/Envil_Vlien/followers_you_follow" class="pretty-link"><b>others</b></a>
                            </small>

                            <span class="js-follow-state follow-state">
                                <a href="https://twitter.com/#" class="js-action-follow js-link" data-user-id="106651229">Follow</a>

                            </span>
                        </div>
                    </div>

                    <div class="js-account-summary account-summary js-actionable-user" data-user-id="83543762" data-feedback-token="22">
                        <div class="dismiss js-action-dismiss"><i class="close"></i></div>
                        <div class="content">
                            <a class="account-group js-recommend-link js-user-profile-link user-thumb" href="https://twitter.com/phanthedung" data-user-id="83543762">

                                <img class="avatar js-action-profile-avatar " src="<?php echo Html::imageUrl("ski_normal.JPG") ?>" alt="Phan The Dung">
                                <span class="account-group-inner js-action-profile-name" data-user-id="83543762">
                                    <b class="fullname">Phan The Dung</b>
                                    <span>‏</span>

                                    <span class="username"><s>@</s><span class="js-username">phanthedung</span></span>
                                </span>
                            </a>

                            <small class="metadata social-context">

                            </small>

                            <span class="js-follow-state follow-state">
                                <a href="https://twitter.com/#" class="js-action-follow js-link" data-user-id="83543762">Follow</a>

                            </span>
                        </div>
                    </div>

                </div>

                <div class="flex-module-footer">
                    <a href="https://twitter.com/#!/who_to_follow/interests" data-element-term="interests_link">Browse categories</a> · <a href="https://twitter.com/#!/who_to_follow/import" data-element-term="import_link">Find friends</a>
                </div>

            </div>
        </div></div><div class="module trends  component loading" style="display: none; " data-component-term="trends">
        <div class="flex-module trends-inner">
            <div class="flex-module-header">

                <h3>
                    <span class="js-trend-location" woeid="1">Trends</span>
                </h3>
                <small>· <a href="https://twitter.com/#" data-modal="change-trends" class="change-trends js-trend-toggle">Change</a></small>
            </div>
            <div class="flex-module-inner">
                <ul class="trend-items js-trends"><li class="js-trend-item  " data-trend-name="#YouPornlympia">
                        <a href="https://twitter.com/#!/search/%23YouPornlympia" data-query-source="trend_click">#YouPornlympia</a>
                    </li><li class="js-trend-item  " data-trend-name="Lebensgefährtin">
                        <a href="https://twitter.com/#!/search/Lebensgef%C3%A4hrtin" data-query-source="trend_click">Lebensgefährtin</a>
                    </li><li class="js-trend-item  " data-trend-name="Leitzins bei 0,75 Prozent">
                        <a href="https://twitter.com/#!/search/%22Leitzins%20bei%200%2C75%20Prozent%22" data-query-source="trend_click">Leitzins bei 0,75 Prozent</a>
                    </li><li class="js-trend-item  " data-trend-name="#BirbirimiziTakipÇünküFenerbahçeliyiz">
                        <a href="https://twitter.com/#!/search/%23BirbirimiziTakip%C3%87%C3%BCnk%C3%BCFenerbah%C3%A7eliyiz" data-query-source="trend_click">#BirbirimiziTakipÇünküFenerbahçeliyiz</a>
                    </li><li class="js-trend-item  " data-trend-name="#Pressemitteilung">
                        <a href="https://twitter.com/#!/search/%23Pressemitteilung" data-query-source="trend_click">#Pressemitteilung</a>
                    </li><li class="js-trend-item  " data-trend-name="We Are Directioners">
                        <a href="https://twitter.com/#!/search/%22We%20Are%20Directioners%22" data-query-source="trend_click">We Are Directioners</a>
                    </li><li class="js-trend-item  " data-trend-name="Demi Is Our Unbroken Girl">
                        <a href="https://twitter.com/#!/search/%22Demi%20Is%20Our%20Unbroken%20Girl%22" data-query-source="trend_click">Demi Is Our Unbroken Girl</a>
                    </li><li class="js-trend-item  " data-trend-name="#badespassfilme">
                        <a href="https://twitter.com/#!/search/%23badespassfilme" data-query-source="trend_click">#badespassfilme</a>
                    </li><li class="js-trend-item  " data-trend-name="#EZB">
                        <a href="https://twitter.com/#!/search/%23EZB" data-query-source="trend_click">#EZB</a>
                    </li><li class="js-trend-item  " data-trend-name="#Draghi">
                        <a href="https://twitter.com/#!/search/%23Draghi" data-query-source="trend_click">#Draghi</a>
                    </li></ul>
            </div>
        </div></div><div class="component" data-component-term="footer"><div class="module site-footer ">
            <div class="flex-module">
                <div class="flex-module-inner js-items-container">
                    <ul class="clearfix">
                        <li class="copyright">© 2012 Twitter</li>
                        <li><a href="https://twitter.com/about">About</a></li>
                        <li><a href="https://support.twitter.com/">Help</a></li>
                        <li><a href="https://twitter.com/tos">Terms</a></li>
                        <li><a href="https://twitter.com/privacy">Privacy</a></li>
                        <li><a href="http://blog.twitter.com/">Blog</a></li>
                        <li><a href="http://status.twitter.com/">Status</a></li>
                        <li><a href="https://twitter.com/download">Apps</a></li>
                        <li><a href="https://twitter.com/about/resources">Resources</a></li>
                        <li><a href="https://twitter.com/jobs">Jobs</a></li>
                        <li><a href="https://business.twitter.com/en/advertise/start">Advertisers</a></li>
                        <li><a href="https://business.twitter.com/index_en.html">Businesses</a></li>
                        <li><a href="http://media.twitter.com/">Media</a></li>
                        <li><a href="https://dev.twitter.com/">Developers</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>

<?php echo $content ?>
<?php $this->endContent(); ?>